package Day07;

import java.util.ArrayList;

public class Array {
    public static void main(String[] args) {
        /*ArrayList<String> list = new ArrayList<>();
        list.add("aaa");
        list.add("ffgdfjhdkvg");
        boolean result = list.add("vbjhsv");
        System.out.println(result);
        System.out.println(list);*/


        ArrayList<String> List = new ArrayList<>();

         boolean result = List.add("adads");
        System.out.println(result);
        System.out.println(List);

        boolean ressult = List.remove("adads");
        System.out.println(ressult);
        System.out.println(List);
        boolean resssult = List.add("abcd");
        System.out.println(resssult);
        System.out.println(List);


    }
}
